//==========================================================================================
//
//		AxImp.exe support classes
//		Copyright (c) 2005, OpenNETCF.org
//
//		This library is free software; you can redistribute it and/or modify it under 
//		the terms of the OpenNETCF.org Shared Source License.
//
//		This library is distributed in the hope that it will be useful, but 
//		WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
//		FITNESS FOR A PARTICULAR PURPOSE. See the OpenNETCF.org Shared Source License 
//		for more details.
//
//		You should have received a copy of the OpenNETCF.org Shared Source License 
//		along with this library; if not, email licensing@opennetcf.org to request a copy.
//
//		If you wish to contact the OpenNETCF Advisory Board to discuss licensing, please 
//		email licensing@opennetcf.org.
//
//		For general enquiries, email enquiries@opennetcf.org or visit our website at:
//		http://www.opennetcf.org
//
//==========================================================================================

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace System.ComponentModel
{
    /// <summary>
    /// Stub class to facilitate compilation of the AxImp-generated proxy classes
    /// </summary>
    public class DesignerSerializationVisibilityAttribute: Attribute
    {
        public DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility visibility)
        {
        }
    }

    /// <summary>
    /// Stub class to facilitate compilation of the AxImp-generated proxy classes
    /// </summary>
    public class BrowsableAttribute : Attribute
    {
        public BrowsableAttribute(bool val)
        {
        }
    }

    public enum DesignerSerializationVisibility
    {
        Hidden,
        Visible
    }
}

namespace System.Windows.Forms
{
    /// <summary>
    /// AxImp-related part of the AxHost class definition
    /// Embedded classes. Used by the proxy generated by AxImp
    /// </summary>
    public partial class AxHost
    {
        public class ClsidAttribute : Attribute
        {
            public ClsidAttribute(string clsid)
            {
            }
        }
        public class TypeLibraryTimeStampAttribute : Attribute
        {
            public TypeLibraryTimeStampAttribute(string val)
            {
            }
        }

        public class InvalidActiveXStateException : Exception
        {
            public InvalidActiveXStateException(string prop, ActiveXInvokeKind kind):base(prop + ": " + kind.ToString())
            {
            }
        }

        public enum ActiveXInvokeKind
        {
            PropertyGet,
            PropertySet,
            MethodInvoke
        }
    }
}
